/*
 * Ammo.h
 *
 *  Created on: 08/07/2011
 *      Author: Rafael
 */

#ifndef AMMO_H_
#define AMMO_H_
#include "math/Rectangle.h"
#include <string>
#include "util/Timer.h"
using namespace std;

class GameObject;

class Ammo {
private:
	int id;
	int damage;
	int movSpeed;
	Timer *timer;

	Rectangle area;

	string viewName;
public:
	Ammo(int id);
	Ammo(int id, Rectangle rect, int damage, int movSpeed, string viewName);
	virtual ~Ammo();
    int getId() const;
    void setId(int id);

    GameObject* getProjectile(Point2D pos);

};

#endif /* AMMO_H_ */
